class UrlMappings {
    static mappings = {
        "/$controller/$action?/$id?" {
            constraints {
                // apply constraints here
            }
        }
        "/workmates/show/$name" (controller: 'workmates', action: "show")
        "/projects" (controller: 'projects', action: "show")
        "500"(view: '/error')
    }
}
